<!DOCTYPE html>
<html>
<head>
	<title>微信用户登录信息</title>
</head>
<body>
   <table>
   	 <tr>
	      <th>头像</th>
	      <td><img src="{$userinfo.headimgurl}" /></td>
   	 </tr>
   	 <tr>
	      <th>姓名</th>
	      <td>{$userinfo.nickname}</td>
   	 </tr>
   	 <tr>
	     <th>性别</th>
	     <td><if condition="$userinfo['sex'] eq 1">男<else />女</if></td>
   	 </tr>
     <tr>
       <th>openid</th>
       <td>{$userinfo.openid}</td>
     </tr>
      <tr>
        <th>地址</th>
        <td>{$userinfo.country}{$userinfo.province}{$userinfo.city}</td>
     </tr>
    </table>
</body>
</html>